﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Plato;

namespace EShop.Client
{
    public partial class frmShopTrendChartByMonth : frmBase
    {
        public frmShopTrendChartByMonth()
        {
            InitializeComponent();
        }

        private void btnDisplay_Click(object sender, EventArgs e)
        {
            DataTable dt = new BLL.ShopReportBLL().GetTrendChartByMonth(dtBegin.Value, dtEnd.Value);
            int i = dt.Rows.Count;
            this.chartPanel1.DataSource = dt;
        }
    }
}
